import { Module } from '@nestjs/common'
import { RedisModule } from '@nestjs-modules/ioredis'
@Module({
  imports: [
    RedisModule.forRoot({
      type: 'single',
      url: 'redis://localhost:6379',
      options: {
        password: '123456',
      },
    }),
  ],
})
export class AppRedisModule {}
